package com.jasper.service;

import com.jasper.pojo.Carousel;
import com.jasper.pojo.OrderStatus;
import com.jasper.pojo.bo.SubmitOrderBO;
import com.jasper.pojo.vo.OrderVO;

import java.util.List;

public interface OrderService {


    /**
     * 创建订单
     * @param submitOrderBO
     * @return
     */
    OrderVO createOrder(SubmitOrderBO submitOrderBO);

    void updateOrderStatus(String orderId, Integer orderStatus);

    OrderStatus queryOrderStatusInfo(String orderId);

    /**
     * 关闭超时未支付订单
     */
    void closeOrder();
}
